﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Threading;
using PMS.Common;

namespace PMS.App
{
    public partial class frmLogin : DevExpress.XtraEditors.XtraForm
    {
        public frmLogin()
        {
            InitializeComponent();
        }
        public static void ThreadProc()
        {
            Application.Run(new frmCopyRight());
        }
        private void btnLogin_Click(object sender, EventArgs e)
        {
            Thread thread = new Thread(new ThreadStart(ThreadProc));
            thread.Start();
            this.Close();
        }

        private void frmLogin_FormClosing(object sender, FormClosingEventArgs e)
        {
            LookAndFeelSettings.Save("LookAndFeelSettings.dat");
        }
    }
}